<?php
header("Content-type:text/html;charset=utf-8");
/* 
 * 测试引导类
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
define('ROOT_PATH', './');
/**设置debug开关*/
define("APP_DEBUG", 2);
/*引用ecs核心init.php文件*/
require './Sys/Sys.php';

$str = '121<br><img src="http://static.tianyaui.com/img/static/2011/imgloading.gif" title="点击图片查看幻灯模式" original="http://img3.laibafile.cn/p/m/238945127.jpg">123123';
//echo(htmlspecialchars($str));
//echo "<br/>";
$reg = "/<img(.*)[>|\/>]/is";
preg_match($reg, $str, $match);
var_dump($match);
